#!/usr/bin/python
# -*- coding=utf-8 -*-

class test:
    def main(self,a, b):
        self.a = a
        self.b = b

    def __del__(self):
        if(getattr(self, "a", None)):
            print "a"
            self.a = 0
        if(getattr(self, "b", None)):
            print "b"
            self.b = 0


def xxx():
    a = test()
    a.main(1, 2)
    print "xxx"


xxx()

